package com.oschina;

/**
 * @author zhouyang
 * @Date 2017-08-20 11:45
 * @Description
 * @Version 1.0
 */
public class RedisSessionManager implements SessionManager {
    public Session create() {
        System.out.println("RedisSessionManager.create");
        return new Session();
    }

    public boolean delete(String id) {
        System.out.println("RedisSessionManager.delete");
        return true;
    }

    public boolean update(Session session) {
        System.out.println("RedisSessionManager.update");
        return true;
    }

    public Session get(String id) {
        System.out.println("RedisSessionManager.get");
        return new Session();
    }
}
